#!/bin/bash




gnome-terminal --tab -e 'bash -c "source /opt/ros/humble/setup.bash;source ~/Lslidar_ROS2_driver-M10P-N10P/install/setup.bash;ros2 launch lslidar_driver lslidar_launch.py; exec bash"' \
--tab -e 'bash -c "source /opt/ros/humble/setup.bash;ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 "world" "map"; exec bash"' \
--tab -e 'bash -c "source /opt/ros/humble/setup.bash;source ~/uav_slam/install/setup.bash;ros2 launch slam_gmapping slam_gmapping.launch.py; exec bash"' \
--tab -e 'bash -c "source /opt/ros/humble/setup.bash;ros2 run rviz2 rviz2 -d ~/consensus_apf/slam/Slam_gmapping.rviz; exec bash"' \
